#include "listTable.h"

void main()
{
    listTable_t *l = initList();
    char str1[10] = "dsfsdfs";
    addListNode(l, str1);
    char str2[10] = "esew";
    addListNode(l, str2);
    listNode_t *node = l->head->next;
    for (int i = 0; i < l->count; i++)
    {
        printf("%s \n", (char *)(node->value));
        node = node->next;
    }
    printf("\n");
    delListNode(l, &str2);
    node = l->head->next;
    for (int i = 0; i < l->count; i++)
    {
        printf("%s \n", (char *)(node->value));
        node = node->next;
    }
}